using AutoMapper;
using Thinker.SignChannel.Books;
using Thinker.SignChannel.Entities;
using Thinker.SignChannel.People;

namespace Thinker.SignChannel;

public class SignChannelApplicationAutoMapperProfile : Profile
{
    public SignChannelApplicationAutoMapperProfile()
    {
        CreateMap<Book, BookDto>();
        CreateMap<CreateUpdateBookDto, Book>();

        CreateMap<Person, PersonDto>();
        CreateMap<Person, PersonExcelDto>();
        CreateMap<PersonEditDto, PersonInfo>();
        CreateMap<PersonExcelDto, PersonInfo>();
    }
}